<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link REL="shortcut icon" href="/<%= request.getRequestURI().split("/")[1] %>/images/favicon.ico">
    <link href="/<%= request.getRequestURI().split("/")[1] %>/css/isquirrel.css" media="screen" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/<%= request.getRequestURI().split("/")[1] %>/js/prototype.js"></script>
    <script type="text/javascript" src="/<%= request.getRequestURI().split("/")[1] %>/js/scriptaculous/scriptaculous.js"></script>
    <script type="text/javascript" src="/<%= request.getRequestURI().split("/")[1] %>/js/fudel.js"></script>
    <script type="text/javascript" src="/<%= request.getRequestURI().split("/")[1] %>/js/isquirrel.js"></script>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>iSquirrel - Walnuts for you</title>
</head>
<body onLoad="initPage()">
	<img style="z-index:20;float:right;" src="/<%= request.getRequestURI().split("/")[1] %>/images/isquirrel.png" alt="isquirrel" />
	<div id="wrapper">
		<div id="header">
			<div id="majorhead">
			</div>
		</div>		
		<div>
			<!-- included content -->
			<div id="content">
	 			<%
	 			String url;
	 			if (request.getAttribute("p") != null)
					url = "../views/" + request.getAttribute("p");
	 			else
	 				url = "../views/" + request.getParameter("p");
				 %>	
				<jsp:include page='<%= url %>' />
			</div>
		</div>
	</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-12345417-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>